<h1><%= @user.get_name %>: <%= t(:hour_banks) %></h1>

<table>
  <tr>
    <th><%= t(:date) %></th>
    <th><%= t(:hour_amount) %></th>
  </tr>
  <% @hour_banks.each do |m| %>
  <tr>
    <td><%= m.date.strftime("%d/%m/%Y") %></td>
    <td><%= m.amount %></td>
  </tr>
  <% end %>
</table>
<p class="missing-hours"><%= t(:total_hour_banks) %>: <%= @user.total_hour_banks %></p>

<p class="back"><%= link_to t(:back), admin_users_path %></p>
